package com.dtkavin.akka

/**
  * Created by Administrator on 2016/4/9 0009.
  */

trait Msg extends Serializable

case class WorkderRegister(workerId: String, host: String, port: Int, memory: Int, core: Int) extends Msg

case class RegisterBack(masterId: String) extends Msg

case class HeartBeat(workerId:String ,beatTime: Long) extends Msg

case class InfoMsg(msg: String) extends Msg

case object WorkerHearBeat

case object WorkerCheck